package com.zws.cucumber.expr;

import org.apache.commons.lang3.tuple.Pair;

import java.util.List;

/**
 * author: zws
 */
@FunctionalInterface
public interface ZwsExprFunc {
    /**
     * @return left is output, right is actual
     */
    Pair<Object, Object> apply(ZwsExprCtx ctx, List<String> args, String pattern, Object actual);
}
